package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("lv_writing_authors")
public class Author {
    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    private String nameTr;
    private String deathYear;
    private String birthYear;
    //作者简介
    private String description;
    private int dynastyId;
    private String dynasty;
    //百科地址
    private String baiduWiki;
    //在数据库中的排序
    private int sort;
}
